<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    你好，<span th:text="${name}"></span><br>
    等级：<span th:if="${grade >= 60}">合格</span>
         <span th:if="${grade < 60}">不合格</span><br>
    <table border="1" width="60%">
        <thead><tr><th>姓名</th><th>生日</th><th>工资</th></tr></thead>
        <tbody>
            <tr th:each="user : ${list}">
                <td th:text="${user.name}"></td>
                <td th:text="${user.birthday}"></td>
                <td th:text="${user.money}"></td>
            </tr>
        </tbody>
    </table>
</body>
</html>







